package com.xyh.run.springAop;
 

public class HelloServiceImpl implements HelloService {
 
    @Override
    public void sayHello(String name) {
        if(name == null || name.trim() == ""){
            throw new RuntimeException("parameter is null");
        }
        System.out.println(name + "Hello");
    }
}